package test.redis.mq.p2p;

import java.util.List;

import redis.clients.jedis.Jedis;

public class Consumer {
	
	public static void main(String[] args) {
		Jedis jedis = new Jedis();
		while(true) {
			List<String> msgs = jedis.blpop(new String[]{"mq"});
			System.out.println(msgs);
		}
	}

}
